//
//  WCNSelectNurseTCell.m
//  WCN
//
//  Created by 杨鑫 on 15/7/6.
//  Copyright (c) 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCNSelectNurseTCell.h"

@implementation WCNSelectNurseTCell

- (void)awakeFromNib {
    // Initialization code
    
    [self setSeparatorInset:UIEdgeInsetsZero];
    if ([self respondsToSelector:@selector(setPreservesSuperviewLayoutMargins:)]) {
        [self setPreservesSuperviewLayoutMargins:NO];
    }
    if ([self respondsToSelector:@selector(setLayoutMargins:)]) {
        [self setLayoutMargins:UIEdgeInsetsZero];
    }
    
    self.nurseAvatar.layer.cornerRadius = 30.5;
    self.nurseAvatar.clipsToBounds = YES;
}

- (void)selectEffect:(BOOL)selected
{
    if (selected) {
        self.selectSign.image = [UIImage imageNamed:@"Mult_Select"];
    } else {
        self.selectSign.image = [UIImage imageNamed:@"Selected_no"];
    }
}

@end
